Tegra186: modify the return type for `plat_get_syscnt_freq()`
authorVarun Wadekar <[email protected]>
Fri, 29 Apr 2016 23:21:36 +0000 (16:21 -0700)
committerVarun Wadekar <[email protected]>
Thu, 30 Mar 2017 23:49:05 +0000 (16:49 -0700)
Commit c073fda1c692d7c74415d26fb483d6336330fcc0 upstream changed the
return type for `plat_get_syscnt_freq()` from uint64_t to unsigned
long long.

This patch modifies the return type for the Tegra186 platform.

Change-Id: Ic9e5c364b90972265576e271582a4347e5eaa6eb
Signed-off-by: Varun Wadekar <[email protected]>
plat/nvidia/tegra/soc/t186/plat_setup.c

index 1dd0d6ee7f3ec5d71083720600fa7ba5c6b9ee3f..ac36a14b9eb47f48d59cfede2f8581b4c4265536 100644 (file)
@@ -113,7 +113,7 @@ const mmap_region_t *plat_get_mmio_map(void)
 /*******************************************************************************
  * Handler to get the System Counter Frequency
  ******************************************************************************/
-unsigned int plat_get_syscnt_freq2(void)
+unsigned long long plat_get_syscnt_freq(void)
 {
        return 31250000;
 }